package core

import (
	"go-quick/interface/iconfig"
	"go-quick/interface/ilogger"
	"go-quick/interface/iorm"
	"go-quick/interface/iweb"
	"go-quick/logger"
	"go-quick/web"
)

type (
	QuickCoreEngine struct {
		config iconfig.IConfig // 配置
		log    ilogger.ILogger // 日志
		server iweb.IServer    // 服务
		orm    iorm.IOrm       // 数据库
	}
)

func Default() QuickCoreEngine {
	return QuickCoreEngine{
		log:    logger.Default(),
		server: web.Default(),
	}
}

func (q *QuickCoreEngine) Start() {

}
